package com.libui.extension

import android.graphics.drawable.Drawable
import androidx.core.graphics.drawable.toBitmap

fun Drawable.toByteArray(): ByteArray {
    return toBitmap().toByteArray()
}